﻿using MoneyManagerNET.Presentation.ViewModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Specialized;
using System.Windows.Data;
using MoneyManagerNET.Model;

namespace Tests.Presentation.ViewModel
{
    
    
    /// <summary>
    ///This is a test class for StockAccuntViewModelTest and is intended
    ///to contain all StockAccuntViewModelTest Unit Tests
    ///</summary>
    [TestClass()]
    public class StockAccuntViewModelTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for StockAccuntViewModel Constructor
        ///</summary>
        [TestMethod()]
        public void StockAccuntViewModelConstructorTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for PromptEdit
        ///</summary>
        [TestMethod()]
        public void PromptEditTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            target.PromptEdit();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for PromptNew
        ///</summary>
        [TestMethod()]
        public void PromptNewTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            target.PromptNew();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for GainLoss
        ///</summary>
        [TestMethod()]
        public void GainLossTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            Nullable<Decimal> actual;
            actual = target.GainLoss;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Invested
        ///</summary>
        [TestMethod()]
        public void InvestedTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            Nullable<Decimal> actual;
            actual = target.Invested;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for InvestmentCollection
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void InvestmentCollectionTest()
        {
            StockAccuntViewModel_Accessor target = new StockAccuntViewModel_Accessor(); // TODO: Initialize to an appropriate value
            INotifyCollectionChanged expected = null; // TODO: Initialize to an appropriate value
            INotifyCollectionChanged actual;
            target.InvestmentCollection = expected;
            actual = target.InvestmentCollection;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Investments
        ///</summary>
        [TestMethod()]
        public void InvestmentsTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            CollectionView expected = null; // TODO: Initialize to an appropriate value
            CollectionView actual;
            target.Investments = expected;
            actual = target.Investments;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Model
        ///</summary>
        [TestMethod()]
        public void ModelTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            object expected = null; // TODO: Initialize to an appropriate value
            object actual;
            target.Model = expected;
            actual = target.Model;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Name
        ///</summary>
        [TestMethod()]
        public void NameTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            string actual;
            actual = target.Name;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Selected
        ///</summary>
        [TestMethod()]
        public void SelectedTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            IStockInvestment actual;
            actual = target.Selected;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Total
        ///</summary>
        [TestMethod()]
        public void TotalTest()
        {
            StockAccuntViewModel target = new StockAccuntViewModel(); // TODO: Initialize to an appropriate value
            Nullable<Decimal> actual;
            actual = target.Total;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
